package com.xz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xz.entity.Video;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xz.entity.frontvo.VideoFrontVo;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author testjava
 * @since 2020-08-09
 */
public interface VideoService extends IService<Video> {

    String saveVideoInfo(Video video);

    boolean removeAll(String id);

    IPage<Video> getRecommend();

    IPage<Video> pageCondition(long current, long limit, VideoFrontVo videoFrontVo);
}
